package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallStorage;
import com.ctsi.ssdc.domain.LitemallStorageExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallStorageRepository extends BaseRepository<LitemallStorage, Integer, LitemallStorageExample> {
    @Override
    long countByExample(LitemallStorageExample example);

    @Override
    int deleteByExample(LitemallStorageExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallStorage record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallStorage record);

    @Override
    List<LitemallStorage> selectByExample(LitemallStorageExample example);

    @Override
    LitemallStorage selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallStorage record, @Param("example") LitemallStorageExample example);

    @Override
    int updateByExample(@Param("record") LitemallStorage record, @Param("example") LitemallStorageExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallStorage record);

    @Override
    int updateByPrimaryKey(LitemallStorage record);

    LitemallStorage selectOneByExample(LitemallStorageExample example);
}